import { promptAction } from '@kit.ArkUI'

export class Toast {
  public static show(message: string, duration: number = 2000) {
    promptAction.showToast({
      message: message,
      duration: duration,
      bottom: "center",
    })
  }
}